<template>
  <div class="el-dialog-div" ref="formBox">
    <el-form ref="form" :model="form" label-width="100px">
      <el-form-item label="购买时间" prop="createTime">
        <el-input v-model.number="form.createTime" :readonly="true" />
      </el-form-item>
      <el-form-item label="商品编号" prop="goodsNo">
        <el-input v-model.number="form.goodsNo" :readonly="true" />
      </el-form-item>
      <el-form-item label="商品名称" prop="goodsName">
        <el-input v-model.number="form.goodsName" :readonly="true" />
      </el-form-item>
      <el-form-item label="转售状态" prop="resellState">
        <el-input v-model.number="form.resellState" :readonly="true" />
      </el-form-item>
      <el-form-item label="UID" prop="buyUserId">
        <el-input v-model.number="form.buyUserId" :readonly="true" />
      </el-form-item>
      <el-form-item label="昵称" prop="buyUserName">
        <el-input v-model.number="form.buyUserName" :readonly="true" />
      </el-form-item>
      <el-form-item label="电话号码" prop="buyUserPhone">
        <el-input v-model.number="form.buyUserPhone" :readonly="true" />
      </el-form-item>
      <el-form-item label="买入价格" prop="buyPrice">
        <el-input v-model.number="form.buyPrice" :readonly="true" />
      </el-form-item>
      <el-form-item label="转售价格" prop="resellPrice">
        <el-input v-model.number="form.resellPrice" :readonly="true" />
      </el-form-item>
      <!-- <el-form-item label="购买时间" prop="nickname">
          <el-input v-model.number="form.nickname" :disabled="true" />
        </el-form-item> -->
    </el-form>
  </div>
</template>

<script>
import { pickGoodesEnum } from '@/common/enums'

export default {
  name: 'FormView',
  props: {
    form: {
      type: Object,
    }
  },


  data() {
    return {

    }
  },
  mounted() {
  },

}
</script>

<style lang="scss">
.el-dialog-div {
  height: 70vh;
  overflow: auto;
  padding-right: 30px;
}
</style>
